package com.tianfei.crowd.service.api;

import com.github.pagehelper.PageInfo;
import com.tianfei.crowd.entity.Role;

import java.util.List;

/**
 * @author: Herz
 * @date: 2021/7/13 16:04
 */
public interface RoleService {

    PageInfo<Role> getPageInfo(Integer pageNum, Integer pageSize, String keyword);

    void saveRole(String roleName);

    void updateRole(Integer roleId, String roleName);

    void deleteRole(List<Integer> roleIdList);

    List<Role> getAssignedRole(Integer adminId);

    List<Role> getUnAssignedRole(Integer adminId);
}
